home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / S3D_2E1.exe / Shout3d_runtime / codebase / models / morphtargets / morph_box.s3d < prev    next >
Text File  |  2000-07-11  |  4KB  |  163 lines

  1. Background {
  2.     color 0 0 0
  3. }
  4. DEF world-TIMER TimeSensor {
  5.     loop TRUE
  6.     cycleInterval 3.333
  7. }
  8. DEF Box01 Transform {
  9.     translation 0.7116 0 -2.74
  10.     children [
  11.         DEF Box01ChannelDeformer ChannelDeformer {
  12.             basePoint [
  13.                 -7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
  14.             ]
  15.             channels [
  16.                 DEF MC_Box02 TranslationArrayDefChannel {
  17.                     translations [
  18.                         -0.001485 0 0.04939 0.003114 0 0.1362 -0.003965 0 -0.05176 0.001309 0 0.02035 0.04653 0 -0.03761
  19.                         -0.04342 0 -0.0354 0.03076 0 0.02761 -0.05096 0 0.05537
  20.                     ]
  21.                 }
  22.                 DEF MC_Box03 TranslationArrayDefChannel {
  23.                     modifiedCoordIndex [
  24.                         1 3 4 5 6 7
  25.                     ]
  26.                     translations [
  27.                         0.09258 0 0.001797 0.09347 0 -0.02449 0.03182 0 -0.03496 -0.02062 0 -0.03744 0.05117 0 -0.04628
  28.                         -0.01814 0 -0.05426
  29.                     ]
  30.                 }
  31.             ]
  32.         }
  33.         DEF MC_Box02-FLOAT-INTERP ScalarInterpolator {
  34.             key [
  35.                 0 0.18 0.37 0.58 0.85
  36.             ]
  37.             keyValue [
  38.                 0 74 9 100 0
  39.             ]
  40.         }
  41.         ROUTE world-TIMER.fraction_changed TO MC_Box02-FLOAT-INTERP.set_fraction
  42.         ROUTE MC_Box02-FLOAT-INTERP.value_changed TO MC_Box02.set_weight
  43.         DEF MC_Box03-FLOAT-INTERP ScalarInterpolator {
  44.             key [
  45.                 0 0.18 0.37 0.58
  46.             ]
  47.             keyValue [
  48.                 0 88 100 0
  49.             ]
  50.         }
  51.         ROUTE world-TIMER.fraction_changed TO MC_Box03-FLOAT-INTERP.set_fraction
  52.         ROUTE MC_Box03-FLOAT-INTERP.value_changed TO MC_Box03.set_weight
  53.         Shape {
  54.             appearance [
  55.                 MultiAppearance {
  56.                     material Material {
  57.                         diffuseColor 0.102 0.6941 0.3451
  58.                     }
  59.                 }
  60.             ]
  61.             geometry MultiMesh {
  62.                 coord DEF Box01-COORD Coordinate {
  63.                     point [
  64.                         -7.5 0 7.5 7.5 0 7.5 -7.5 0 -7.5 7.5 0 -7.5 -7.5 15 7.5 7.5 15 7.5 -7.5 15 -7.5 7.5 15 -7.5
  65.                     ]
  66.                 }
  67.                 coordIndex [
  68.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  69.                     2 0 4 -1 4 6 2 -1
  70.                 ]
  71.                 smoothingIndex [
  72.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  73.                 ]
  74.                 appearanceIndex [
  75.                     1 1 0 0 4 4 3 3 5 5 2 2
  76.                 ]
  77.                 textureMappings [
  78.                 ]
  79.             }
  80.         }
  81.         ROUTE Box01ChannelDeformer.outPoint TO Box01-COORD.set_point
  82.     ]
  83. }
  84. DEF Box02 Transform {
  85.     translation -31.25 0 -3.231
  86.     children [
  87.         Shape {
  88.             appearance [
  89.                 MultiAppearance {
  90.                     material Material {
  91.                         diffuseColor 0.102 0.6941 0.3451
  92.                     }
  93.                 }
  94.             ]
  95.             geometry MultiMesh {
  96.                 coord DEF Box02-COORD Coordinate {
  97.                     point [
  98.                         -7.648 0 12.44 7.811 0 21.12 -7.896 0 -12.68 7.631 0 -5.465 -2.847 15 3.739 3.158 15 3.96
  99.                         -4.424 15 -4.739 2.404 15 -1.963
  100.                     ]
  101.                 }
  102.                 coordIndex [
  103.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  104.                     2 0 4 -1 4 6 2 -1
  105.                 ]
  106.                 smoothingIndex [
  107.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  108.                 ]
  109.                 appearanceIndex [
  110.                     1 1 0 0 4 4 3 3 5 5 2 2
  111.                 ]
  112.                 textureMappings [
  113.                 ]
  114.             }
  115.         }
  116.     ]
  117. }
  118. DEF Box03 Transform {
  119.     translation 27.5 0 -2.74
  120.     children [
  121.         Shape {
  122.             appearance [
  123.                 MultiAppearance {
  124.                     material Material {
  125.                         diffuseColor 0.102 0.6941 0.3451
  126.                     }
  127.                 }
  128.             ]
  129.             geometry MultiMesh {
  130.                 coord DEF Box03-COORD Coordinate {
  131.                     point [
  132.                         -7.5 0 7.5 16.76 0 7.68 -7.5 0 -7.5 16.85 0 -9.949 -4.318 15 4.004 5.438 15 3.756
  133.                         -2.383 15 -12.13 5.686 15 -12.93
  134.                     ]
  135.                 }
  136.                 coordIndex [
  137.                     0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  138.                     2 0 4 -1 4 6 2 -1
  139.                 ]
  140.                 smoothingIndex [
  141.                     2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
  142.                 ]
  143.                 appearanceIndex [
  144.                     1 1 0 0 4 4 3 3 5 5 2 2
  145.                 ]
  146.                 textureMappings [
  147.                 ]
  148.             }
  149.         }
  150.     ]
  151. }
  152. DEF Camera01 Viewpoint{
  153.     position 0 51.28 112.2
  154.     orientation 1 0 0 -0.3589
  155.     fieldOfView 0.6024
  156.     description "Camera01"
  157. }
  158. DEF Camera01.Target Transform {
  159.     translation 0 7.929 -3.334
  160.     children [
  161.     ]
  162. }
  163.